textview: Defer cursor blinking on input
authorMatthias Clasen <mclasen@redhat.com>
Wed, 24 Jul 2019 01:18:03 +0000 (21:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 24 Jul 2019 01:18:03 +0000 (21:18 -0400)
We were not calling the right cursor functions
in the commit handler.

gtk/gtktextview.c

index 66b8fb1274739f890012802a14c7d81fbfaa8365..382f6f72fb7dd86f2b437d87432b8adf4b969150 100644 (file)
@@ -8255,6 +8255,8 @@ gtk_text_view_commit_handler (GtkIMContext  *context,
                               GtkTextView   *text_view)
 {
   gtk_text_view_commit_text (text_view, str);
+  gtk_text_view_reset_blink_time (text_view);
+  gtk_text_view_pend_cursor_blink (text_view);
 }
 
 static void